package com.cw.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.cw.annotation.NeedMerge;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

@Setter
@Getter
@ApiModel("院前准备报表医生模型模型")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ReportReadyDocNameDTO {

    @ApiModelProperty("科室名")
    @NeedMerge()
    @ExcelProperty(value = "科室",index = 0)
    @ColumnWidth(15)
    private String deptName;

    @ApiModelProperty("开单医生编号")
    private String docCode;

    @ApiModelProperty("开单医生")
    @NeedMerge(inExcelIndex = "1")
    @ExcelProperty(value = "开单医生",index = 1)
    @ColumnWidth(15)
    private String docName;

    @ApiModelProperty("患者信息")
    @ExcelProperty(value = "患者姓名",index = 2)
    @ColumnWidth(15)
    private String name;

    @ApiModelProperty("入院诊断")
    @ExcelProperty(value = "入院诊断",index = 3)
    @ColumnWidth(25)
    private String diagName;

    @ApiModelProperty("联系电话")
    @ExcelProperty(value = "联系电话",index = 4)
    @ColumnWidth(15)
    private String linkmanTel;

    //3.2修改
    @ApiModelProperty("挂号时间")
    private String createTime;

    @ApiModelProperty("备注")
    @ExcelProperty(value = "备注",index = 5)
    @ColumnWidth(20)
    private String beiZhu;

    @ApiModelProperty("检验项目")
    @ExcelProperty(value = "检验项目",index = 6)
    @ColumnWidth(30)
    private String examineListName;

    @ApiModelProperty("已检验项目")
    @ExcelProperty(value = "已检验项目",index = 7)
    @ColumnWidth(20)
    private String doneExamine;

    @ApiModelProperty("检验进度")
    @ExcelProperty(value = "检验进度",index = 8)
    @ColumnWidth(20)
    private String examineProgress;

    @ApiModelProperty("未检查项目")
    @ExcelProperty(value = "未检查项目",index = 9)
    @ColumnWidth(30)
    private String notInspectName;

    @ApiModelProperty("已检查项目")
    @ExcelProperty(value = "已检查项目",index = 10)
    @ColumnWidth(30)
    private String inspectName;

    @ApiModelProperty("检查进度")
    @ExcelProperty(value = "检查进度",index = 11)
    @ColumnWidth(15)
    private String inspectProgress;

    @ApiModelProperty("状态")
    @ExcelProperty(value = "状态",index = 12)
    @ColumnWidth(15)
    private String preState;



    @ApiModelProperty(value = "用于查询检验详情 门诊号",hidden = true)
    @ExcelIgnore
    private String mcardNo;

    @ApiModelProperty(value = "用于查询检验详情 诊断号",hidden = true)
    @ExcelIgnore
    private String clinicCode;

    @ApiModelProperty(value = "已检查集合",hidden = true)
    @ExcelIgnore
    private List<String> erApplyItemOutsDoIt;

    @ApiModelProperty(value = "未检查集合",hidden = true)
    @ExcelIgnore
    private List<String> erApplyItemOutsNotDoIt;

    @ExcelIgnore
    private String deptCode;

//    @ApiModelProperty(value = "检验集合",hidden = true)
//    private List<LJysqdxx> lJysqdxxes;
}
